Add the little stars. (#319985, Bastien Nocera)
authorMatthias Clasen <mclasen@redhat.com>
Fri, 28 Oct 2005 14:04:04 +0000 (14:04 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 28 Oct 2005 14:04:04 +0000 (14:04 +0000)
2005-10-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little
stars.  (#319985, Bastien Nocera)

ChangeLog
ChangeLog.pre-2-10
gtk/gtkaboutdialog.c

index 75bd3c8e884516477c3d69c9d40a0f4f942e87d2..aba50aa90e0f75a1745ec2aca8df0c715a46b144 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-10-28  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little 
+       stars.  (#319985, Bastien Nocera)
+
        * gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout): Return
        FALSE, so we don't flush repeatedly.  (#319151, Alexander Larsson)
 
index 75bd3c8e884516477c3d69c9d40a0f4f942e87d2..aba50aa90e0f75a1745ec2aca8df0c715a46b144 100644 (file)
@@ -1,5 +1,8 @@
 2005-10-28  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little 
+       stars.  (#319985, Bastien Nocera)
+
        * gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout): Return
        FALSE, so we don't flush repeatedly.  (#319151, Alexander Larsson)
 
index 54303c4460dd6b9e0c141315ecaebed44d77fbfe..ad228d3f29d29e99fa803574e69a119e6a2e1165 100644 (file)
@@ -436,7 +436,7 @@ static void
 gtk_about_dialog_init (GtkAboutDialog *about)
 {
   GtkAboutDialogPrivate *priv;
-  GtkWidget *vbox, *hbox, *button;
+  GtkWidget *vbox, *hbox, *button, *image;
 
   /* Data */
   priv = GTK_ABOUT_DIALOG_GET_PRIVATE (about);
@@ -504,7 +504,9 @@ gtk_about_dialog_init (GtkAboutDialog *about)
   gtk_dialog_set_default_response (GTK_DIALOG (about), GTK_RESPONSE_CLOSE);
 
   /* Add the credits button */
-  button = gtk_button_new_from_stock (_("C_redits"));
+  button = gtk_button_new_from_mnemonic (_("C_redits"));
+  image = gtk_image_new_from_stock (GTK_STOCK_ABOUT, GTK_ICON_SIZE_BUTTON);
+  gtk_button_set_image (GTK_BUTTON (button), image);
   gtk_widget_set_no_show_all (button, TRUE);
   gtk_box_pack_end (GTK_BOX (GTK_DIALOG (about)->action_area), 
                    button, FALSE, TRUE, 0);